namespace AvaloniaApplication1.Factory;

/// <summary>
/// ViewModel工厂接口
/// </summary>
/// <typeparam name="TModel">Model引用类型class</typeparam>
/// <typeparam name="TViewModel">ViewModel引用类型</typeparam>
public interface IViewModelFactory<TModel,TViewModel>  where TViewModel:class
{
    TViewModel Create(TModel model);
}